# you should edit it to your arch you want 
# (or what arch your computer is)

# this should exists in arch/, for example, ARCH = i386 
# will copy all files in xnix/arch/i386/ into xnix/. 


ARCH = x86_64


all: 
	tools/choosearch.sh $(ARCH) 
	make -C init/ 
	make -C kernel/ 
	make -C lib/ 
	make -C modules/ 
	make -C init/ rawkbin 
	make -C boot/ Image 


clean: 
	make -C boot/ clean
	make -C init/ clean
	make -C kernel/ clean
	make -C lib/ clean
	make -C modules/ clean

